package com.myideas.service;

import java.util.List;

import com.myideas.dao.hibernate.GenericDaoHibernate;
import com.myideas.model.Knowledge;
import com.myideas.model.User;


public interface KnowledgeManager extends GenericManager<Knowledge, Long> {

    void setKnowledgeDao(GenericDaoHibernate<Knowledge, Long> dao);
    
    Knowledge getKnowledge(String knowledgeId);

    List<User> getAvailableUsers();

//    Knowledge saveKnowledge(Knowledge knowledge)  throws UserExistsException;

    void removeKnowledge(String knowledgeId);

	Knowledge save(Knowledge knowledge, Long user_fk);
}
